export default ({ service, request, serviceForMock, requestForMock, mock, faker, tools }) => ({
    // 获取ruler列表
    V2X_RULER_GET (params) {
        return request({
            url: '/v2x/ruler',
            method: 'get',
            params
        })
    },
    // 更新数据ruler
    V2X_RULER_PATCH (id,data) {
        return request({
            url: '/v2x/ruler/' + id,
            method: 'patch',
            data
        })
    },
    // 删除数据ruler
    V2X_RULER_DELETE (id) {
        return request({
            url: '/v2x/ruler/' + id,
            method: 'delete',
            id
        })
    }
})
